<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=0, width=device-width"/>
    <title>api</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/common.css" />
    <link rel="stylesheet" type="text/css" href="../css/base.css" />    
    
	
</head>
    <style type="text/css">   
@charset "utf-8";
section {
    position: relative;
}

.cMask {
    position: absolute;
    z-index: 5;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.3;
}

.revCon {
    width: 100%;
    overflow: hidden;
}
.ico-label {
    position: absolute;
    width: 45px;
    height: 45px;
    z-index: 1;
}

.ico {
    display: inline-block;
    vertical-align: middle;
    background: url('../../images/mobile/ten.png') no-repeat;
    background-size: contain;
}

.revCon ul {
    padding: 15px 8px;
    height: 83px;
    position: relative;
    /* border-top: 1px solid #eee; */
    /* margin-top: -1px; */
}

.revCon li {
    color: #bbb;
}

.revCon li.revConL {
    float: left;
    position: relative;
}

.revCon li.revConL img {
    width: 80px;
    height: 80px;
    border: 1px solid #f6f6f6;
}

.revCon li.revConL .z-limit-tips {
    width: 28px;
    font-size: 10px;
    padding-top: 2px;
    height: 28px;
    line-height: 10px;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    background-position: -52px -167px;
    display: inline-block;
    text-align: center;
}

.revCon li h4 {
    color: #666;
    font-size: 18px;
    line-height: 18px;
    display: block;
    font-size: 14px;
}

.revCon li h5 {
    line-height: 25px;
    display: block;
    font-weight: normal;
    font-size: 13px;
}

.revCon li p {
    padding: 0 12px 0 0px;
    height: 23px;
    line-height: 22px;
    color: #ED6E01;
    display: inline-block;
}

.revCon li s {
    background: url(../../images/mobile/clock.gif);
    background-size: 14px auto;
    width: 14px;
    height: 14px;
    display: inline-block;
    position: relative;
    top: 3px;
    margin: 0 5px;
}

.revCon li p strong {
    margin-left: 10px;
}

.revCon li p em {
    position: relative;
    top: 1px;
}

.revCon li.revConR {
    margin-left: 90px;
    position: relative;
}

.revCon li dd {
    font-size: 14px;
    line-height: 20px;
    color: #999;
}

.revCon li dd img {
    float: left;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    margin-right: 5px;
}

.revCon li dd em {
    margin-right: 2px;
}

.revCon li dd em.rUserName {
    width: 52%;
    height: 17px;
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
}

.revCon li dt {
    margin-top: 7px;
    line-height: 18px;
}

.revCon li dd strong {
    font-weight: normal;
    color: #bbb;
}

.revCon li dd span {
    height: 20px;
    line-height: 20px;
    word-wrap: break-word;
    overflow: hidden;
    display: block;
}

.revCon li p em {
    font-size: 16px;
}

.revCon li.revConR b {
    border-width: 2px 2px 0 0;
    position: absolute;
    right: 1px;
    top: 35px;
}

.revCon ul.rNow {

    overflow: hidden;
    margin-bottom: 1px;
}

.revCon ul.rNow:nth-child(1n-1) {
    border-top: 0 none;
}

.revCon ul.rFirst {

    margin-top: 10px;
}



.revCon ul.rNow h4 {
    max-height: 35px;
    overflow: hidden;
}

.infoResult {
    width: 100%;
}

.infoResult ul {
    width: 100%;
}

.infoResult li {
    color: #999;
}

.infoResult li dd {
    display: inline-block;
}

.infoResult li span {
    display: inline-block;
}

.infoResult li span:nth-child(3n-2) {
    padding-left: 6px;
    width: 148px;
}

.infoResult li span:nth-child(3n-1) {
    text-align: left;
    width: 60px;
    padding: 0 10px;
}

.infoResult li span:nth-child(4n-1) {
    margin-left: 2%;
}

.infoResult li span dd {
    display: inline-block;
    margin-left: 3%;
    padding-left: 3%;
}

.infoResult dl {
    padding: 5px 0;
    line-height: 20px;
    background: #ffb400;
    color: #fff;
    text-align: center;
    word-wrap: break-word;
}

.infoResult dl em {
    word-break: keep-all;
    white-space: nowrap;
}

.infoResult .result1 li {
    border-top: #eee 1px solid;
    line-height: 28px;
}

.result1 li.iTitle {
    background: #f7f7f7;
    color: #bbb;
    border-bottom: #1px solid #ddd;
    height: 25px;
    line-height: 25px;
    box-shadow: 0 1px 2px #eee;
}

.infoResult .result2 {
    display: inline-block;
    margin-top: -1px;
    overflow: hidden;
}

.result2 li {
    background: #fffcda;
    height: 30px;
    line-height: 30px;
    border-top: 1px solid #FFE08C;
    position: relative;
    margin-top: -1px;
}

.result2 li span:nth-child(3n-1) {
    color: #f60;
    position: relative;
    z-index: 2;
}

.result2 p {
    position: absolute;
    top: 0;
    z-index: 3;
    width: 80px;
    height: 31px;
    left: 154px;
    border-left: 1px solid #f60;
    border-right: 1px solid #f60;
}

.result2 li span dd {
    border-left: 1px solid #FFE08C;
    color: #666;
}

.result2 b {
    border: solid #f60;
    border-width: 1px 1px 0 0;
    width: 3px;
    height: 3px;
    position: absolute;
    left: -2px;
    top: 13px;
    background: #FFFCDA;
    z-index: 20;
}

.result2 li span s {
    border: solid #ff8c37;
    border-width: 1px 0 0 1px;
    width: 6px;
    height: 6px;
    position: absolute;
    left: 35px;
    bottom: -4px;
    z-index: 10;
    background: #ff9600;
}

.infoCount {
    width: 100%;
    background: #ff9600;
    display: inline-block;
    border-top: 1px solid #FF8C37;
    position: relative;
}

.infoCount .infoCount2 {
    color: #fff;
    padding: 10px 0;
}

.infoCount2 li {
    border-top: 1px solid #f68b1f;
    padding: 5px 0 5px 10px;
    line-height: 18px;
}

.infoCount2 p {
    display: block;
    text-indent: -4.5em;
    padding-left: 54px;
}

.infoCount em {
    color: #ffe38e;
    font-size: 10px;
}

.infoCount2 span {
    font-size: 16px;
}

.infoResult .result3 {
    margin-bottom: 15px;
}

.infoResult .result3 li {
    border-top: 0 none;
    border-bottom: #eee 1px solid;
}

.g-header {
    position: relative;
}

.infoRule {
    position: absolute;
    z-index: 10;
    top: 52px;
    background: #fff;
    box-shadow: 0 1px 3px #999;
    border: 1px solid #999;
    border-radius: 5px;
    color: #666;
    font-size: 12px;
    padding: 0 10px;
    line-height: 18px;
    -webkit-box-sizing: border-box;
    display: block;
    margin: 0 5px;
}

.infoRule p {
    margin: 10px 0;
    text-indent: -2em;
    padding-left: 25px;
}

.infoRule p em {
    background: #f60;
    width: 15px;
    height: 18px;
    line-height: 18px;
    text-align: right;
    padding-right: 3px;
    border-radius: 20px;
    display: inline-block;
    color: #fff;
    margin-right: 5px;
    font-size: 10px;
}

.infoRule b {
    border: solid #999;
    border-width: 1px 0 0 1px;
    width: 8px;
    height: 8px;
    position: absolute;
    top: -5px;
    right: 20px;
    background: #fff;
}
.orange{
	color:#FF0000;
}
.c9 {
    color: #999;
}


    </style>
</head>
<body>
<script id='integrateList-template' type="text/x-dot-template">
{{ for(var i=0; i< it.length; i++) { }}
	  <ul id="24091" class='border-bottom-img'>
                <li class="revConL"><img src="http://wap.jqmao.cn/statics/uploads/{{=it[i].thumb}}">
                </li>
                <li class="revConR">
                    <dl>
                        <dd><span>礼品名称<strong>：</strong><a name="uName" uweb="6611" class="rUserName blue">{{=it[i].giftName}}</a></span>积分消耗<strong>：</strong><em class="orange arial">{{=it[i].consume}}</em>积分
                        </dd>
                    </dl>
                    <dt>兑换时间：<em class="orange arial">{{=it[i].time}}</em><br>兑换状态：<em class="c9 arial">{{=it[i].status}}</em></dt>
                    <b class="fr z-arrow"></b></li>
            </ul>
{{}}} 
</script>
<header  class='acctivify-header'>
						<div id='header' class='header'>
							<i id='back' onclick="back()"></i><h1>我的兑换记录</h1>
						</div>
		</header>
    
	<section class="revealed" style="background: #fff;" >
        <div   id="integrateList-content" class="revCon" >                  
            
        </div>
     </section>
   
</body>
    <script type="text/javascript" src="../script/zepto.min.js"></script>

    <script type="text/javascript" src="../script/api.js"></script>
    <script type="text/javascript" src="../script/doT.min.js"></script>
    <script type="text/javascript" src="../script/common.js"></script>
    <script type="text/javascript" src="../script/login.js"></script>
    <script type="text/javascript">
    var uid = '';
    	apiready=function(){
    	headerstatus();
    	uid = api.pageParam.id;
    		getintegrateList()  				
    	}
    	
    	function getintegrateList(){
    		api.ajax({
	            url:'http://wap.jqmao.cn/getintegrateList?uid='+uid
            },function(ret,err){
            	if(ret){
            	
            		var a = $api.byId('integrateList-content');
				    var tpl = $api.byId('integrateList-template').text;
				    var tempFn = doT.template(tpl);
				    $api.html(a,tempFn(ret));
            	}
            });
    		
    	}
    </script>

</html>
